package br.composer.handlers.responses;

import java.util.ArrayList;

import br.composer.core.Measurement;

public class HandlerResponse {
	/**
	 * 	TODO ver como implementar tipos dinamicos (ex. ArrayList<tipo>) para usar nessa classe
	 * de forma a dinamizar o array de Measurement para o tipo apropriado
	 */
	private boolean failed=false;
	private ArrayList<Measurement> results;

	
	public HandlerResponse() {
		results = new ArrayList<Measurement>();
	}
	public boolean isFailed() {
		return failed;
	}
	public void setFailed(boolean failed) {
		this.failed = failed;
	}
	public ArrayList<Measurement> getResults() {
		return results;
	}
	public void setResults(ArrayList<Measurement> results) {
		this.results = results;
	}
	
}
